package com.base.mapper.voipmapper;

import com.base.po.tbk.TbkBrandCategory;
import com.base.po.tbk.TbkBrandCategoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbkBrandCategoryMapper {
    int countByExample(TbkBrandCategoryExample example);

    int deleteByExample(TbkBrandCategoryExample example);

    int deleteByPrimaryKey(String id);

    int insert(TbkBrandCategory record);

    int insertSelective(TbkBrandCategory record);

    List<TbkBrandCategory> selectByExample(TbkBrandCategoryExample example);

    List<TbkBrandCategory> selectByLevel1(@Param("parentid") String parentid, @Param("shopid") String shopid);

    TbkBrandCategory selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TbkBrandCategory record, @Param("example") TbkBrandCategoryExample example);

    int updateByExample(@Param("record") TbkBrandCategory record, @Param("example") TbkBrandCategoryExample example);

    int updateByPrimaryKeySelective(TbkBrandCategory record);

    int updateByPrimaryKey(TbkBrandCategory record);
}